const mongoose = require('mongoose')
const Schema = mongoose.Schema
const { ObjectId, String, Boolean, Date } = Schema.Types

const Todo = Schema({
    todoId: ObjectId,
    todo: String,
    isDone: Boolean,
    created: Date
})

module.exports = Todo
